ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
↳ QTRS
↳ Overlay + Local Confluence
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
MINUS(s(x), s(y)) → MINUS(x, y)
IF(true, x, y) → DIV(minus(x, y), y)
IF(true, x, y) → MINUS(x, y)
DIV(x, y) → IFY(ge(y, s(0)), x, y)
IFY(true, x, y) → IF(ge(x, y), x, y)
DIV(x, y) → GE(y, s(0))
GE(s(x), s(y)) → GE(x, y)
IFY(true, x, y) → GE(x, y)
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MINUS(s(x), s(y)) → MINUS(x, y)
IF(true, x, y) → DIV(minus(x, y), y)
IF(true, x, y) → MINUS(x, y)
DIV(x, y) → IFY(ge(y, s(0)), x, y)
IFY(true, x, y) → IF(ge(x, y), x, y)
DIV(x, y) → GE(y, s(0))
GE(s(x), s(y)) → GE(x, y)
IFY(true, x, y) → GE(x, y)
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
MINUS(s(x), s(y)) → MINUS(x, y)
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
MINUS(s(x), s(y)) → MINUS(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
MINUS(s(x), s(y)) → MINUS(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
GE(s(x), s(y)) → GE(x, y)
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
GE(s(x), s(y)) → GE(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
GE(s(x), s(y)) → GE(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
IF(true, x, y) → DIV(minus(x, y), y)
DIV(x, y) → IFY(ge(y, s(0)), x, y)
IFY(true, x, y) → IF(ge(x, y), x, y)
ge(x, 0) → true
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
div(x, y) → ify(ge(y, s(0)), x, y)
ify(false, x, y) → divByZeroError
ify(true, x, y) → if(ge(x, y), x, y)
if(false, x, y) → 0
if(true, x, y) → s(div(minus(x, y), y))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
IF(true, x, y) → DIV(minus(x, y), y)
DIV(x, y) → IFY(ge(y, s(0)), x, y)
IFY(true, x, y) → IF(ge(x, y), x, y)
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
div(x0, x1)
ify(false, x0, x1)
ify(true, x0, x1)
if(false, x0, x1)
if(true, x0, x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
IF(true, x, y) → DIV(minus(x, y), y)
DIV(x, y) → IFY(ge(y, s(0)), x, y)
IFY(true, x, y) → IF(ge(x, y), x, y)
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
DIV(y0, s(x0)) → IFY(ge(x0, 0), y0, s(x0))
DIV(y0, 0) → IFY(false, y0, 0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
DIV(y0, s(x0)) → IFY(ge(x0, 0), y0, s(x0))
DIV(y0, 0) → IFY(false, y0, 0)
IF(true, x, y) → DIV(minus(x, y), y)
IFY(true, x, y) → IF(ge(x, y), x, y)
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
DIV(y0, s(x0)) → IFY(ge(x0, 0), y0, s(x0))
IF(true, x, y) → DIV(minus(x, y), y)
IFY(true, x, y) → IF(ge(x, y), x, y)
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
DIV(y0, s(x0)) → IFY(true, y0, s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
DIV(y0, s(x0)) → IFY(true, y0, s(x0))
IF(true, x, y) → DIV(minus(x, y), y)
IFY(true, x, y) → IF(ge(x, y), x, y)
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
IFY(true, x0, 0) → IF(true, x0, 0)
IFY(true, 0, s(x0)) → IF(false, 0, s(x0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
DIV(y0, s(x0)) → IFY(true, y0, s(x0))
IFY(true, x0, 0) → IF(true, x0, 0)
IF(true, x, y) → DIV(minus(x, y), y)
IFY(true, 0, s(x0)) → IF(false, 0, s(x0))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
DIV(y0, s(x0)) → IFY(true, y0, s(x0))
IF(true, x, y) → DIV(minus(x, y), y)
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IF(true, s(z0), s(z1)) → DIV(minus(s(z0), s(z1)), s(z1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
DIV(y0, s(x0)) → IFY(true, y0, s(x0))
IF(true, s(z0), s(z1)) → DIV(minus(s(z0), s(z1)), s(z1))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IF(true, s(z0), s(z1)) → DIV(minus(z0, z1), s(z1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
DIV(y0, s(x0)) → IFY(true, y0, s(x0))
IF(true, s(z0), s(z1)) → DIV(minus(z0, z1), s(z1))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
DIV(s(y_0), s(x1)) → IFY(true, s(y_0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
IF(true, s(z0), s(z1)) → DIV(minus(z0, z1), s(z1))
DIV(s(y_0), s(x1)) → IFY(true, s(y_0), s(x1))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
DIV(s(y_0), s(x1)) → IFY(true, s(y_0), s(x1))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
IFY(true, s(x0), s(x1)) → IF(ge(x0, x1), s(x0), s(x1))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IFY(true, s(z0), s(s(z1))) → IF(ge(z0, s(z1)), s(z0), s(s(z1)))
IFY(true, s(z0), s(0)) → IF(ge(z0, 0), s(z0), s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
IFY(true, s(z0), s(s(z1))) → IF(ge(z0, s(z1)), s(z0), s(s(z1)))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
IFY(true, s(z0), s(0)) → IF(ge(z0, 0), s(z0), s(0))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
IFY(true, s(z0), s(0)) → IF(ge(z0, 0), s(z0), s(0))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
IFY(true, s(z0), s(0)) → IF(ge(z0, 0), s(z0), s(0))
ge(x, 0) → true
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
IFY(true, s(z0), s(0)) → IF(ge(z0, 0), s(z0), s(0))
ge(x, 0) → true
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
IFY(true, s(z0), s(0)) → IF(true, s(z0), s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
IFY(true, s(z0), s(0)) → IF(true, s(z0), s(0))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
ge(x, 0) → true
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
IFY(true, s(z0), s(0)) → IF(true, s(z0), s(0))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
IFY(true, s(z0), s(0)) → IF(true, s(z0), s(0))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IF(true, s(x0), s(0)) → DIV(x0, s(0))
IF(true, s(s(y_0)), s(0)) → DIV(s(y_0), s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
IFY(true, s(z0), s(0)) → IF(true, s(z0), s(0))
IF(true, s(s(y_0)), s(0)) → DIV(s(y_0), s(0))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
IFY(true, s(s(y_0)), s(0)) → IF(true, s(s(y_0)), s(0))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
IFY(true, s(s(y_0)), s(0)) → IF(true, s(s(y_0)), s(0))
IF(true, s(s(y_0)), s(0)) → DIV(s(y_0), s(0))
DIV(s(x0), s(0)) → IFY(true, s(x0), s(0))
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ ForwardInstantiation
IFY(true, s(z0), s(s(z1))) → IF(ge(z0, s(z1)), s(z0), s(s(z1)))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IFY(true, s(s(y_1)), s(s(x1))) → IF(ge(s(y_1), s(x1)), s(s(y_1)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Rewriting
IFY(true, s(s(y_1)), s(s(x1))) → IF(ge(s(y_1), s(x1)), s(s(y_1)), s(s(x1)))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
IFY(true, s(s(y_1)), s(s(x1))) → IF(ge(y_1, x1), s(s(y_1)), s(s(x1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
IFY(true, s(s(y_1)), s(s(x1))) → IF(ge(y_1, x1), s(s(y_1)), s(s(x1)))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IFY(true, s(s(y_1)), s(s(x1))) → IF(ge(y_1, x1), s(s(y_1)), s(s(x1)))
Used ordering: Polynomial interpretation with max and min functions [25]:
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
POL(0) = 0
POL(DIV(x1, x2)) = 1 + x1 + x2
POL(IF(x1, x2, x3)) = x2 + x3
POL(IFY(x1, x2, x3)) = 1 + x2 + x3
POL(false) = 0
POL(ge(x1, x2)) = 0
POL(minus(x1, x2)) = 1 + x1
POL(s(x1)) = 1 + x1
POL(true) = 0
minus(s(x), s(y)) → minus(x, y)
minus(x, 0) → x
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
DIV(s(x0), s(s(z1))) → IFY(true, s(x0), s(s(z1)))
IF(true, s(s(x0)), s(s(x1))) → DIV(minus(x0, x1), s(s(x1)))
ge(0, s(x)) → false
ge(s(x), s(y)) → ge(x, y)
ge(x, 0) → true
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
ge(x0, 0)
ge(0, s(x0))
ge(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))